package com.scau402.system.mapper;

import java.util.List;
import com.scau402.system.domain.WmsBasicOrderStatus;

/**
 * 订单状态Mapper接口
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public interface WmsBasicOrderStatusMapper 
{
    /**
     * 查询订单状态
     * 
     * @param status 订单状态主键
     * @return 订单状态
     */
    public WmsBasicOrderStatus selectWmsBasicOrderStatusByStatus(String status);

    /**
     * 查询订单状态列表
     * 
     * @param wmsBasicOrderStatus 订单状态
     * @return 订单状态集合
     */
    public List<WmsBasicOrderStatus> selectWmsBasicOrderStatusList(WmsBasicOrderStatus wmsBasicOrderStatus);

    /**
     * 新增订单状态
     * 
     * @param wmsBasicOrderStatus 订单状态
     * @return 结果
     */
    public int insertWmsBasicOrderStatus(WmsBasicOrderStatus wmsBasicOrderStatus);

    /**
     * 修改订单状态
     * 
     * @param wmsBasicOrderStatus 订单状态
     * @return 结果
     */
    public int updateWmsBasicOrderStatus(WmsBasicOrderStatus wmsBasicOrderStatus);

    /**
     * 删除订单状态
     * 
     * @param status 订单状态主键
     * @return 结果
     */
    public int deleteWmsBasicOrderStatusByStatus(String status);

    /**
     * 批量删除订单状态
     * 
     * @param statuss 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWmsBasicOrderStatusByStatuss(String[] statuss);
}
